<template>
<div class="my-header">
     我是头部
     <my-button />
</div>
</template>

<script>
export default {
    name: 'MyHeader'
}
</script>

<style>
.my-header {
    height: 50px;
    background-color: #F00;
}
</style>